package cn.com.bluemoon.daps.model.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapDataModelFieldRenameRecord", description = "模型字段改名记录表")
public class DapDataModelFieldRenameRecord extends BaseModel<DapDataModelFieldRenameRecord> {

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "表id")
    private String tableId;

    @ApiModelProperty(value = "字段id")
    private String fieldId;

    @ApiModelProperty(value = "改名后的字段")
    private String newFieldName;

    @ApiModelProperty(value = "改名前的字段")
    private String oldFieldName;

}
